package routers

import (
	"fxynewbee/controllers"

	"github.com/astaxie/beego"
)

func init() {
	beego.Router("/", &controllers.MainController{}, "get:MyHome")
	beego.Router("/loginornot", &controllers.MainController{}, "post:MyorLogin")
	beego.Router("/loginornot/succlogin", &controllers.MainController{}, "post:Loginsucc")
	beego.Router("/loginornot/errlogin", &controllers.MainController{}, "post:Loginerr")
	beego.Router("/myregster", &controllers.MainController{}, "get:MyRegster")
	beego.Router("/myregster/regsornot", &controllers.MainController{}, "post:Myorregs")
	beego.Router("/myregster/regsornot/succregs", &controllers.MainController{}, "post:Regssucc")
	beego.Router("/myregster/regsornot/errregs", &controllers.MainController{}, "post:Regserr")
	beego.Router("/goback", &controllers.MainController{}, "post:Goback")

}
